package finassist.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * AJ Projects
 * User.java
 * Purpose: Login User Database.
 *
 * @author Karthick Natarajan
 * @version 1.0 9/10/13
 */

@Entity
@Table(name="financial_assist_db.fnas_user_reg_tbl")
public class User{
	
//	private static final long serialVersionUID = -8767337896773261247L;

	private Long id;
	private String username;
	private String password;
	private String role;
	private String profileStatus;
	private String fullName;
	
	
	/*private String name;
	private String emailId;
	private Long reportId;
	private Float totalSpent;
	private Float totalShared;
	private Float balance;*/
		
	
	
	@Id
	@GeneratedValue
	@Column(name="SSOID")
	public Long getId() {
		return id;
	}
	@Column(name="Username")
	public String getUsername() {
		return username;
	}
	
	@Column(name="Password")
	public String getPassword() {
		return password;
	}
	
	@Column(name="User_Role")
	public String getRole() {
		return role;
	}
	
	@Column(name="Profile_Status")
	public String getProfileStatus() {
		return profileStatus;
	}
		
	@Column(name="Full_Name")
	public String getFullName() {
		return fullName;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public void setRole(String role) {
		this.role = role;
	}
	
	
	public void setProfileStatus(String profileStatus) {
		this.profileStatus = profileStatus;
	}
	
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

}
